<template>
  <div id="app">
    <!-- <img src="./assets/logo.png"> -->
    <!-- 3. 当做标签使用 -->
    <!-- <com1></com1> -->
    <!-- router-view是路由最终的效果展示窗口，可以当成是一个动态组件 -->
    <!-- 命名视图 -->
    <router-view />
    <!-- <father/> -->
  </div>
</template>

<script>
// 1. 引入组件
import comOne from './components/day04com1'
import father from './components/father'
import vBig from './components/big'
import vSolt from './components/slot'
export default {
  name: 'App',
  // 2. 局部注册
  components: {
    com1: comOne,
    father,
    vBig,
    vSolt
  }
}
</script>

<style>
body {
  margin: 0;
  padding: 0;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  /* margin-top: 60px; */
}
</style>
